
public class OfficeProcedure { //MAYBE.

	//AN office procedure is an information holder that knows two things: Its name and its price.
	//This is primarily used to make our lives easier for gathering pricing.
	//This is the base class for LabWork and Prescription
	
	//PRESCRIPTION: A prescriptions includes the name of prescription, the dosage, and instructions.
	//LABWORK: Labwork has the name of the lab procedure, results, and equipment.
	
	public static int PRESCRIPTION = 0;

	public static int LABWORK = 1;
	
	private String procedureName;
	
	private double procedurePrice;
	
	protected int procedureType;
	
	public OfficeProcedure(String procedure){
		procedureName = procedure;
		procedurePrice = 0;
	}
	
	public OfficeProcedure(String procedure, double price){
		procedureName = procedure;
		procedurePrice = price;
	}

	public String getName() {
		return procedureName;
	}

	public void setName(String procedureName) {
		this.procedureName = procedureName;
	}

	public double getPrice() {
		return procedurePrice;
	}

	public void setPrice(double procedurePrice) {
		this.procedurePrice = procedurePrice;
	}
	
	public int getProcedureType(){
		return this.procedureType;
	}
	
	public void setProcedureType(int procedureNumber){
		if(procedureNumber == this.PRESCRIPTION){
			this.procedureType = procedureNumber;
		}
		else if (procedureNumber == this.LABWORK){
			this.procedureType = procedureNumber;
		}
		else{
			System.out.println("This is not a procedure type!");
		}
	}

	@Override
	public String toString() {
		return "";
	}

}
